<!doctype html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
<!--<![endif]-->
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="${base}/assets/amazeui/css/amazeui.min.css"/>
    <link rel="stylesheet" href="${base}/assets/amazeui/css/admin.css"/>
    <link rel="stylesheet" href="${base}/assets/amazeui/amazeui-ext.css"/>

    <script src="${base}/assets/amazeui/js/jquery.min.js"></script>
    <script src="${base}/assets/amazeui/js/amazeui.min.js"></script>
    <script type="text/javascript">
        function insertConsult(pid, mid) {
            var content = $("#goods_question_contens_box").val();
            $.post("insertConsult.htm", {
                productId: pid, content: content
            }, function (data) {
                if (data == 'false') {
                    alert('请先登入！');
                    var loginForm = getLoginForm();
                    loginForm.submit();
                } else if (data == 'sameUsually') {
                    alert('请在30秒后发表');
                }
                else if (data == 'success') {
                    alert('成功');
                }
            });
        }

        function getLoginForm() {
            return document.getElementById("loginForm");
        }
        function getTableForm() {
            return document.getElementById("tableForm");
        }

    </script>
</head>

<body>
<div class="am-container">
    <p>
    <table align="center" class="am-table" summary="买家出价记录" server-num="detailskip185125.cm4">
        <thead>
        <tr>
            <th>买家</th>
            [#if product.fashions?size>0]
            <th>款式</th>
            [/#if]
            <th>拍下价格</th>
            <th>数量</th>
            <th>下单时间</th>
        </tr>
        </thead>
        <tbody>
        [#list pagination.list as c]
        <tr>
            <td align="center" width="20%">${c.ordeR.member.username!}</td>
            [#if c.productFash??]
            <td align="center" width="20%">${c.productFash.attitude!}</td>
            [/#if]
            <td align="center" width="20%">${c.salePrice!0}</td>
            <td align="center" width="20%">${c.count!}</td>
            <td align="center" width="20%">${c.ordeR.createTime!}</td>

        </tr>
        [/#list]
        </tbody>
    </table>

    <div align="center"> [@pagination_style style='8'/]</div>
    <div class="clear"></div>
    </p>
</div>


</body>
</html>
